package com.sy.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("商品")
public class Goods {
    @ApiModelProperty("所属商品分类")
    String categoryCode;
    @ApiModelProperty("分类名称")
    String categoryName;
    @ApiModelProperty("商品名称")
    String name;
    @ApiModelProperty("规格型号")
    String spec;
    @ApiModelProperty("单位")
    String unit;
    @ApiModelProperty("零售价")
    double oprice;
    @ApiModelProperty("预计采购价")
    double purchasePrice;
    @ApiModelProperty("当前库存")
    int stock;
    @ApiModelProperty("期初数量")
    int num;
    @ApiModelProperty("单位成本")
    double price;
    @ApiModelProperty("期初总价")
    double total;

}
